package dryven.config.xml;

import java.util.Properties;

import dryven.config.MailSenderConfiguration;

public class MemoryMailSenderConfiguration implements MailSenderConfiguration {

	private Properties _mailProps = new Properties();
	private String _overrideRecipients;
	private String _subjectPrefix;
	
	@Override
	public Properties getJavaMailConfiguration() {
		return _mailProps;
	}
	
	public void setSMTP(String server, String user, String password, boolean useSSL, int port) {
		//TODO check javamail params
	}

	@Override
	public String getOverrideRecipient() {
		return _overrideRecipients;
	}
	
	public void setOverrideRecipient(String recipient) {
		_overrideRecipients = recipient;
	}

	@Override
	public String getSubjectPrefix() {
		return _subjectPrefix;
	}
	
	public void setSubjectPrefix(String prefix) {
		_subjectPrefix = prefix;
	}

}
